/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package view;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.ToolBar;
import javafx.scene.layout.HBox;

/**
 *
 * @author Lukas
 */
public class TelaLazer {
  
    Node criaTela() {
        ToolBar barra = new ToolBar();
        HBox h_barra = new HBox();
        //botoes
        Button game = new Button("Game");
        Button quebra = new Button("Quebra Cabeça");

         //eventos
       
        //barra de menu
        barra.getItems().add(game);
        barra.getItems().add(quebra);
        barra.setMinHeight(30);
        barra.setMinWidth(800);
        h_barra.getChildren().add(barra);
                
        return h_barra;        
    }
    
    
}

